package util

import (
	"beta/pkg/e"
	"github.com/gin-gonic/gin"
)

/**
 * 获取每次请求的traceId
 */
func GetTraceID(c *gin.Context) string {
	return c.GetHeader(e.TraceName)
}